package com.qcby.dao;

import com.qcby.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TeacherDao {
    Teacher login(Teacher teacher);

    Teacher findByWorkNumber(Teacher teacher);
    List<Teacher> SearchTeachers(Teacher teacher);
    int AddTeacher(Teacher teacher);
    int UpdateTeacher(Teacher teacher);
    int DeleteTeacher(Integer id);
    List<Teacher> SearchClassTeacher(Integer id);
}
